import { request } from '~/api/request'

/** 物品列表 */
export const queryCastItems = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/castItems', data)

/** 待移送案件列表 */
export const queryWaitList = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/waitTransferCastList', data)

/** 待告知/待移送物品列表 */
export const queryWaitCastItems = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/waitCastItems', data)

/** 待告知案件列表 */
export const queryWaitInformCastList = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/waitInformCastList', data)

/** 已移送案件列表 */
export const queryMoveList = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/transferCastList', data)

/** 已告知案件列表 */
export const queryInformCastList = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/query/informCastList', data)

/** 提交操作 */
export const handleTransfer = (data: any): any => request('post', '/api/internal/v1/item/transfer/submitTransfer', data)

/**告知操作  */
export const handleInform = (data: any): any => request('post', '/api/internal/v1/item/transfer/submitInform', data)

/**补录操作 */
export const handleMakeUp = (data: any): any => request('post', '/api/internal/v1/item/transfer/makeUp', data)

/**补录操作 */
export const handleAcquireTime = (data: any): any =>
  request('post', '/api/internal/v1/item/transfer/updateAcquireTime', data)
